import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/major_hazard_information_entity.g.dart';
export 'package:enterprise_v6_app/generated/json/major_hazard_information_entity.g.dart';

@JsonSerializable()
class MajorHazardInformationEntity {

  MajorHazardInformationEntity();

  factory MajorHazardInformationEntity.fromJson(Map<String, dynamic> json) => $MajorHazardInformationEntityFromJson(json);
  ///	投用日期
  String? activationTime = '';

  ///	地址
  String? address = '';

  ///	周边防护目标最近距离（米）
  int? closestDistance = 0;

  ///	企业编码
  String? companyCode = '';

  ///	操作负责人
  String? controlHead = '';

  ///	操作负责人电话
  String? controlHeadPhone = '';

  ///	操作负责人职位
  String? controlHeadPosition = '';

  ///
  String? createBy = '';

  ///
  String? createById = '';

  ///
  String? createDate = '';

  ///
  String? deleted = '';

  ///
  String? deviceAreaHazards = '';

  ///
  String? hazardCode = '';

  /// R值
  String? rvalue = '';

  ///重大危险源名称
  String? riskObjectName = '';

  ///	危险等级（0：非重大危险源；1：一级；2：二级；3：三级；4：四级；）
  String? hazardRank = '';

  ///
  String? hazardSimpleName = '';

  ///
  String? hazardType = '';

  ///
  String? hazardTypeLabel = '';

  ///
  String? id = '';

  ///
  int? inChemicalIndustrialPark = 0;

  ///	是否涉及重点监管工艺0是；1否
  int? isKeynote = 1;

  /// 涉及重点监管工艺名称
  String? keyProcessesName = '';

  ///
  String? latitude = '';

  ///
  String? longitude = '';

  ///
  String? mainHead = '';

  ///
  String? mainHeadPhone = '';

  ///
  String? mainHeadPosition = '';

  ///
  int? numberEstimation = 0;

  ///
  String? parkName = '';

  ///
  String? productionCapacity = '';


  ///
  String? tecHead = '';

  ///
  String? tecHeadPhone = '';

  ///
  String? tecHeadPosition = '';

  ///
  String? updateBy = '';

  ///
  String? updateById = '';

  ///
  String? updateDate = '';

  Map<String, dynamic> toJson() => $MajorHazardInformationEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
